//
//  GYFoot.m
//  GoodLuck
//
//  Created by 郭为勇 on 2018/3/16.
//  Copyright © 2018年 yunjiazhineng. All rights reserved.
//

#import "GYFoot.h"

@implementation GYFoot

+ (NSArray *)loadFoot:(NSArray *)source {
    NSMutableArray *array = [NSMutableArray array];
    for (NSDictionary *dic in source) {
        GYFoot *foot = [[GYFoot alloc] initWithDic:dic];
        [array addObject:foot];
    }
    
    return array;
}

- (instancetype)initWithDic:(NSDictionary *)dic {
    if ([super init]) {
        [self setValuesForKeysWithDictionary:dic];
    }
    return  self;
}

- (void)setValue:(id)value forUndefinedKey:(NSString *)key {
    
}
@end
